<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>观影室</title>
		<link rel="stylesheet" href="Login.css" />

	</head>
	<body>
		
		<div class="login">
			<h2>用户登录</h2>
			<div class="login_box">
				<!-- input表单元素 required属性规定必需在提交表单之前输入字段 -->
				<input type="text" id="username" required /><label>用户名</label>
			</div>
			<div class="login_box">
				<input type="password" id="password" required="required"/><label>密码</label>
			</div>
			<a href="Home.html">
				登录
				<!-- 使用span元素对文本中的一部分进行着色 -->
				<span></span>
				<span></span>
				<span></span>
				<span></span>
			</a>
			<script type="text/javascript">
					var username=document.getElementById("username").value;
					var Password=document.getElementById("password").value;
					if(username=="admin"&&password=="admin"){
						
					}
					else{
						// alert("抱歉，用户名或密码错误");
					}
			</script>
			
		</div>
	</body>
</html>